package com.iwdm.renovation.ui.furniture_area;

import android.os.Bundle;
import android.webkit.WebSettings;
import androidx.appcompat.app.AppCompatActivity;
import com.iwdm.renovation.databinding.ActivityDesignerBinding;

public class furniture_areaActivity extends AppCompatActivity {
    private ActivityDesignerBinding binding;
    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        binding = ActivityDesignerBinding.inflate(getLayoutInflater());
        setContentView(binding.getRoot());
        WebSettings webSettings = binding.web.getSettings();

        webSettings.setDomStorageEnabled(true);//开启本地DOM存储
        // 设置与Js交互的权限
        webSettings.setJavaScriptEnabled(true);
        binding.web.loadUrl("https://h5.m.taobao.com/awp/core/detail.htm?id=616597579664&abtest=53&rn=0643a8690aef7f724ed13e0bd3cef132&sid=190d21ff13341d97aa34b69075777881");
    }
}
